package com.smart.sso.server.model;

import com.alibaba.fastjson.annotation.JSONField;
import com.smart.mvc.model.PersistentObject;

public class Dept extends PersistentObject {
    /**
     * 
     */
    private static final long serialVersionUID = -1907530319675581744L;
    /** 父ID */
    private Integer parentId;
    /** 图标 */
    @JSONField(serialize = false)
    private String icon;
    /** 名称 */
    private String name;
    /** 权限URL */
    @JSONField(serialize = false)
    private String url;
    /** 排序 */
    private Integer sort = Integer.valueOf(1);
    /** 是否菜单 */
    private Boolean isMenu;
    /** 是否启用 */
    private Boolean isEnable;

    /**
     * @return the parentId
     */
    public Integer getParentId() {
        return parentId;
    }

    /**
     * @param parentId
     *            the parentId to set
     */
    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     *            the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * @param icon
     *            the icon to set
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * @return the url
     */
    public String getUrl() {
        return url;
    }

    /**
     * @param url
     *            the url to set
     */
    public void setUrl(String url) {
        this.url = url;
    }

    /**
     * @return the sort
     */
    public Integer getSort() {
        return sort;
    }

    /**
     * @param sort
     *            the sort to set
     */
    public void setSort(Integer sort) {
        this.sort = sort;
    }

    /**
     * @return the isMenu
     */
    public Boolean getIsMenu() {
        return isMenu;
    }

    /**
     * @param isMenu
     *            the isMenu to set
     */
    public void setIsMenu(Boolean isMenu) {
        this.isMenu = isMenu;
    }

    /**
     * @return the isEnable
     */
    public Boolean getIsEnable() {
        return isEnable;
    }

    /**
     * @param isEnable
     *            the isEnable to set
     */
    public void setIsEnable(Boolean isEnable) {
        this.isEnable = isEnable;
    }
}
